from dict4ini import DictIni

global core,config,userlist,nick,module,database,rooms

core = DictIni("bot.ini", encoding = "utf8")
cbot2 = DictIni("cbot2.ini", encoding = "utf8")
userlist = DictIni("userlist.ini", encoding = "utf-8")
nick = DictIni("nicklist.ini", encoding = "utf-8")
database = DictIni("database.ini", encoding = "utf8")

rooms = database["rooms"]
room_masters = database["room_masters"]
room_passwords = database["room_passwords"]

#Add your own "elif" statments for each module.
module = core.required.module
if module == "cbot2":
	module = cbot2